﻿using System;
using System.Collections.Generic;

namespace YArchitech.Plumbing
{
	public class OptionData
	{
		public OptionData()
		{
		}

		public OptionData(OptionData optionData)
		{
			this.dPValvePosition = optionData.dPValvePosition;
			this.diffDPValve = optionData.diffDPValve;
			this.diffTCValve = optionData.diffTCValve;
			this.floorNum = optionData.floorNum;
			this.mainPipeInter = optionData.mainPipeInter;
			this.resistance = optionData.resistance;
			this.resistanceLocal = optionData.resistanceLocal;
			this.riserPipeInter = optionData.riserPipeInter;
			this.temperReturn = optionData.temperReturn;
			this.temperSupply = optionData.temperSupply;
			this.materialInternal = optionData.materialInternal;
			IList<HYFloor> list = new List<HYFloor>();
			foreach (HYFloor floor in optionData.floorList)
			{
				HYFloor item = new HYFloor(floor);
				list.Add(item);
			}
			this.floorList = list;
		}

		public int MaterialInternal
		{
			get
			{
				return this.materialInternal;
			}
			set
			{
				this.materialInternal = value;
			}
		}

		public int DPValvePosition
		{
			get
			{
				return this.dPValvePosition;
			}
			set
			{
				this.dPValvePosition = value;
			}
		}

		public double TemperSupply
		{
			get
			{
				return this.temperSupply;
			}
			set
			{
				this.temperSupply = value;
			}
		}

		public double TemperReturn
		{
			get
			{
				return this.temperReturn;
			}
			set
			{
				this.temperReturn = value;
			}
		}

		public int FloorNum
		{
			get
			{
				return this.floorNum;
			}
			set
			{
				this.floorNum = value;
			}
		}

		public IList<HYFloor> FloorList
		{
			get
			{
				return this.floorList;
			}
			set
			{
				this.floorList = value;
			}
		}

		public double ResistanceLocal
		{
			get
			{
				return this.resistanceLocal;
			}
			set
			{
				this.resistanceLocal = value;
			}
		}

		public double Resistance
		{
			get
			{
				return this.resistance;
			}
			set
			{
				this.resistance = value;
			}
		}

		public double DiffTCValve
		{
			get
			{
				return this.diffTCValve;
			}
			set
			{
				this.diffTCValve = value;
			}
		}

		public int MainPipeInter
		{
			get
			{
				return this.mainPipeInter;
			}
			set
			{
				this.mainPipeInter = value;
			}
		}

		public int RiserPipeInter
		{
			get
			{
				return this.riserPipeInter;
			}
			set
			{
				this.riserPipeInter = value;
			}
		}

		public double DiffDPValve
		{
			get
			{
				return this.diffDPValve;
			}
			set
			{
				this.diffDPValve = value;
			}
		}

		private int materialInternal;

		private int dPValvePosition;

		private double temperSupply;

		private double temperReturn;

		private int floorNum;

		private IList<HYFloor> floorList;

		private double resistanceLocal;

		private double resistance;

		private double diffTCValve;

		private int mainPipeInter;

		private int riserPipeInter;

		private double diffDPValve;
	}
}
